<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--时间日期-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">日期:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-live_time" data-rule="required" min="0" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[datetime]" type="text" value="{:$row.datetime?datetime($row.datetime):''}">
        </div>
    </div>


    <!--1-->
    {foreach $field_list as $k=>$v}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{$v}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="" class="form-control" name="row[{$k}]" type="text" value="{$row[$k]|htmlentities}">
        </div>
    </div>
    {/foreach}

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
